<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/common/common.jsp"%>

<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title><%=systemName %></title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="<%=path %>/res/assets/i/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="<%=path %>/res/assets/i/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  <link rel="apple-touch-icon-precomposed" href="<%=path %>/res/assets/i/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="<%=path %>/res/assets/i/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">

  <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
  <!--
  <link rel="canonical" href="http://www.example.com/">
  -->

  <link rel="stylesheet" href="<%=path %>/res/assets/css/amazeui.min.css">
  <link rel="stylesheet" href="<%=path %>/res/assets/css/app.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a
  href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

	<%@ include file="/common/nav.jsp"%>


	<div class="am-container">
	
	
		<form class="am-form am-form-horizontal" action="<%=path %>/gqxh" id="formgqxh" autocomplete="on">
			<div class="am-form-group">
				<label for="doc-ipt-3" class="am-u-sm-2 am-form-label">提单号</label>
				<div class="am-u-sm-7">
					<input type="text" id="doc-ipt-3" placeholder="输入提单号查询" name="tdh" value="${tdh }">
					<input type="hidden" name="mt">
				</div>
				<div class="am-u-sm-3">
					<div class="am-dropdown" data-am-dropdown="">
						<button class="am-btn am-btn-primary am-dropdown-toggle" data-am-dropdown-toggle="">
							查询
							<span class="am-icon-caret-down"></span>
						</button>
						<ul class="am-dropdown-content">
							<li><a href="javascript:doSubmit('WY');">外一</a></li>
							<li><a href="javascript:doSubmit('WE');">外二</a></li>
							<li><a href="javascript:doSubmit('WS');">外四</a></li>
							<li><a href="javascript:doSubmit('WW');">外五</a></li>
							<li><a href="javascript:doSubmit('YY');">洋一</a></li>
							<li><a href="javascript:doSubmit('YS');">洋三</a></li>
							<li class="am-divider"></li>
							<li><a href="javascript:doSubmit('auto');">自动</a></li>
						</ul>
					</div>
				</div>
			</div>
		</form>

		<div class="am-panel-group" id="accordion">
		
			
			<div class="am-panel am-panel-secondary">
				<c:if test="${fn:length(vos)==0 }">
					<div class="am-panel-hd">
						<h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-1'}">
							暂无数据
						</h4>
					</div>
					<div id="do-not-say-1" class="am-panel-collapse am-collapse am-in">
						<div class="am-panel-bd">
							无法查询到数据！
						</div>
					</div>
				</c:if>
				<c:if test="${fn:length(vos)>0 }">
					<c:forEach items="${vos }" var="vo" varStatus="i">
						<div class="am-panel-hd">
							<h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-${i.index }'}">
								${vo.gk }&nbsp;&nbsp;&nbsp;${vo.xh }&nbsp;&nbsp;&nbsp;${vo.mtfg }    &nbsp;&nbsp;&nbsp;<font color="red">点击展开或关闭</font>
							</h4>
						</div>
						<div id="do-not-say-${i.index }" class="am-panel-collapse am-collapse ${fn:length(vos)==1?'am-in':'am-out' } ">
							<div class="am-panel-bd">
								
								<table class="am-table am-table-bordered am-table-radius">
									<tr>
										<td class="am-primary">箱号</td>
										<td>${vo.xh }</td>
										<td class="am-primary">箱尺寸</td>
										<td>${vo.cc }</td>
									</tr>
									<tr>
										<td class="am-primary">箱型</td>
										<td>${vo.xx }</td>
										<td class="am-primary">箱高度</td>
										<td>${vo.gd }</td>
									</tr>
									<tr>
										<td class="am-primary">箱状态</td>
										<td>${vo.zt }</td>
										<td class="am-primary">铅封号</td>
										<td>${vo.qfh }</td>
									</tr>
									<tr>
										<td class="am-primary">提单号</td>
										<td>${vo.tdh }</td>
										<td class="am-primary">持箱人</td>
										<td>${vo.cxr }</td>
									</tr>
									<tr>
										<td class="am-primary">箱重量</td>
										<td>${vo.zl }</td>
										<td class="am-primary">冷藏箱温度</td>
										<td>${vo.lcxwd }</td>
									</tr>
									<tr>
										<td class="am-primary">危险品类型</td>
										<td>${vo.wxplx }</td>
										<td class="am-primary">危品联合国编号</td>
										<td>${vo.wplhgbh }</td>
									</tr>
									<tr>
										<td class="am-primary">计划作业方式</td>
										<td>${vo.jhzyfs }</td>
										<td class="am-primary">计划作业时间</td>
										<td>${vo.jhzysj }</td>
									</tr>
									<tr>
										<td class="am-primary">集装箱进场时间</td>
										<td>${vo.jcsj }</td>
										<td class="am-primary">集装箱出场时间</td>
										<td>${vo.ccsj }</td>
									</tr>
									<tr>
										<td class="am-primary">集装箱进场方式</td>
										<td>${vo.jcfs }</td>
										<td class="am-primary">集装箱出场方式</td>
										<td>${vo.ccfs }</td>
									</tr>
									<tr>
										<td class="am-primary">箱变空时间</td>
										<td>${vo.xbksj }</td>
										<td class="am-primary">箱变空原因</td>
										<td>${vo.xbkyy }</td>
									</tr>
									<tr>
										<td class="am-primary">一程船船名</td>
										<td>${vo.ycccm }</td>
										<td class="am-primary">一程船航次</td>
										<td>${vo.ycchc }</td>
									</tr>
									<tr>
										<td class="am-primary">二程船船名</td>
										<td>${vo.ecccm }</td>
										<td class="am-primary">二程船航次</td>
										<td>${vo.ecchc }</td>
									</tr>
									<tr>
										<td class="am-primary">装货港</td>
										<td>${vo.zhg }</td>
										<td class="am-primary">卸货港</td>
										<td>${vo.xhg }</td>
									</tr>
									<tr>
										<td class="am-primary">目的港</td>
										<td>${vo.mdg }</td>
										<td class="am-primary">码头放关</td>
										<td>${vo.mtfg }</td>
									</tr>
									<tr>
										<td class="am-primary">是否配船</td>
										<td>${vo.pc }</td>
										<td class="am-primary">场箱位</td>
										<td>${vo.cxw }</td>
									</tr>
									<tr>
										<td class="am-primary">超限箱类型</td>
										<td>${vo.cxxlx }</td>
										<td class="am-primary">超重</td>
										<td>${vo.cz }</td>
									</tr>
									<tr>
										<td class="am-primary">超高</td>
										<td>${vo.cg }</td>
										<td class="am-primary">前超长</td>
										<td>${vo.qcc }</td>
									</tr>
									<tr>
										<td class="am-primary">后超长</td>
										<td>${vo.hcc }</td>
										<td class="am-primary">左超宽</td>
										<td>${vo.zck }</td>
									</tr>
									<tr>
										<td class="am-primary">右超宽</td>
										<td>${vo.yck }</td>
										<td class="am-primary">调箱门</td>
										<td>${vo.txm }</td>
									</tr>
									<tr>
										<td class="am-primary">发票号</td>
										<td>${vo.fph }</td>
										<td class="am-primary">残损标记</td>
										<td>${vo.csbj }</td>
									</tr>
									<tr>
										<td class="am-primary">联动码头</td>
										<td>${vo.ldmt }</td>
										<td class="am-primary">空箱放关</td>
										<td>${vo.kxfg }</td>
									</tr>
									<tr>
										<td class="am-primary">国检查验</td>
										<td>${vo.gjcy }</td>
										<td class="am-primary">国检放关</td>
										<td>${vo.gjfg }</td>
									</tr>
									<tr>
										<td class="am-primary">海事危品放关</td>
										<td>${vo.hswpfg }</td>
										<td class="am-primary">流向</td>
										<td>${vo.lx }</td>
									</tr>
									<tr>
										<td class="am-primary">装卸泊位</td>
										<td>${vo.zxbw }</td>
										<td class="am-primary">装卸码头</td>
										<td>${vo.zxmt }</td>
									</tr>
									
								</table>
							
							</div>
						</div>
					</c:forEach>
				</c:if>
			</div>
		</div>

		
	</div>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="<%=path %>/res/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="<%=path %>/res/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="<%=path %>/res/assets/js/amazeui.min.js"></script>
<script type="text/javascript">
function doSubmit(mt){
	$("#formgqxh").find("input[name=mt]").val(mt);
	$("#formgqxh").submit();
}

</script>
</body>
</html>
	